import turtle
line = turtle.Turtle()
line.color("red")
line.pensize(3)
def line_one():
    line.forward(85)
    line.left(90)
    line.forward(90)
    line.left(90)
    line.forward(85)
    line.left(90)
    line.forward(18)
    line.left(90)
    line.forward(85)
    line.right(90)
    line.forward(18)
    line.right(90)
    line.forward(85)
    line.left(90)
    line.forward(18)
    line.left(90)
    line.forward(85)
    line.right(90)
    line.forward(18)
    line.right(90)
    line.forward(85)
    line.left(90)
    line.forward(18)
    line.backward(90)
def line_two():
    line.left(90)
    line.forward(15)
    line.left(90)
    line.forward(15)
    line.right(90)
    line.forward(70)
    line.right(90)
    line.forward(15)
    line.backward(15)
    line.left(90)
    line.backward(85)
def line_three():
    line.forward(85)
    line.left(90)
    line.forward(20)
    line.left(90)
    line.forward(85)
    line.left(90)
    line.forward(20)
    line.left(90)
    line.forward(85)
    line.left(90)
    line.forward(70)
    line.right(90)
def line_four():
    line.color("yellow")
    line.forward(50)
    line.right(90)
    line.forward(385)
    line.right(90)
    line.forward(50)
    line.right(90)
    line.forward(385)
    line.right(90)
    line.forward(25)
    line.right(90)
    line.forward(385)
    line.left(90)
    line.forward(25)
    line.left(90)
    line.forward(350)
    line.right(90)
def line_five():
    line.color("red")
    line.forward(50)
    line.right(90)
    for i in range(10):
        line.forward(35)
        line.right(90)
        line.forward(50)
        line.backward(50)
        line.left(90)
    line.right(90)
    line.forward(50)
    line.color("yellow")
    line.forward(12)
    line.right(90)
    for i in range(10):
        line.penup()
        line.forward(35)
        line.pendown()
        line.circle (1)
    line.penup()
    line.forward(35)
    line.left(90)
    line.forward(26)
    line.left(90)
    for i in range(10):
        line.penup()
        line.forward(35)
        line.pendown()
        line.circle (1)

def draw():
    line_one()
    line_two()
    line_one()
    line_two()
    line_one()
    line_two()
    line_three()
    line_four()
    line_five()
    turtle.done()


if "__main__" == __name__:
    draw()
